package com.example.diancai.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author q
 * @since 2025-03-07
 */
@TableName("dc_user")
public class DcUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private String uId;

    /**
     * 用户昵称
     */
    private String dcName;

    /**
     * 用户角色
     */
    private String userRole;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 图片地址
     */
    private String pictureUrl;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 删除状态
     */
    private String deleteFlag;

    /**
     * 删除时间
     */
    private LocalDateTime deleteTime;

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }

    public String getDcName() {
        return dcName;
    }

    public void setDcName(String dcName) {
        this.dcName = dcName;
    }

    public String getUserRole() {
        return userRole;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public LocalDateTime getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(LocalDateTime deleteTime) {
        this.deleteTime = deleteTime;
    }

    @Override
    public String toString() {
        return "DcUser{" +
        "uId = " + uId +
        ", dcName = " + dcName +
        ", userRole = " + userRole +
        ", phone = " + phone +
        ", pictureUrl = " + pictureUrl +
        ", createTime = " + createTime +
        ", deleteFlag = " + deleteFlag +
        ", deleteTime = " + deleteTime +
        "}";
    }
}
